added random network generator in network creator