結果 : write an algorithm for breadth first search in data structure