Created by: aPovidlo
Changes were made to random_graph() and a test for valid graph generation was added.