filling in details of the erdos renyi network model