random simple graph generator