Graph generators

want to merge the graph generating code and their examples into master