Changed random generator function
It not takes node and edge counts as inputs, so it can be generated with the old graph generator, or the new one which won't have a clean calculation of node and edge counts.