first commit
save final versions of graph code
fix mistakenly saved code from plot2
removed test code