Problem
Write and code a program that reads a list of location pairs with their distance and finds the shortest path from A to Z. It should list the route and the distance of each leg of the trip. Find the shortest path connecting two locations. The input is a list of pairs of location names (A to Z) with the distance between them in comma separated values (CSV) format.