Bad graph generator

Attempted to write a routine that generates edges between the planets.
Unfortunately, it didn't work out so well... some further reading is
required...