add cloneGraph.cpp