Java based program to generate random netork topologies represented as graphs.