dfs traverse code finished
bfs traverse code finished