ADD: Connections now carry a length, this has been incorporated into the Dijkstra algorithm for routing