結果 : dfs implementation using stack