created a new random graph generation function
works for graphs with up to 17-18 skills depending on the level range given