spit out graph file

added graph plotter