結果 : bfs algorithm python tree