結果 : bfs python code using stack