Added random network generator