結果 : bfs program in python geeksforgeeks