Building a transportation network and finding the shortest route