added connectedLocations to network and used in Djikstras
added connectedLocations to network and used in Djikstras