Update myGraph.cpp