結果 : implement breadth first search in python