first version of the generator
Merge https://github.com/notbad/RandomGraph