Implemented generation of random graphs of user-specified size.