Create graph.cpp

program to plot graph