結果 : dfs implementation python iterative