clone graph BFS