Creating the network dataset