Added random network creation