結果 : bfs example with solution