clone graph: dfs & bfs