This program iplements a graph to calculate the shortest path between two points.