Graph generators

fixed 1st pull request review issues; resubmitting

added graph generating code

added examples for graph generating code

revised directory structure for examples to conform to established directory structure