Random graph generator implemented