Create generateGraph.cpp