random graph implemented
random graph implemented