clone graph with 2 bfs