Machine Problem 3: Finds the shortest possible path for all nodes in a graph; uses Dijkstra's Algorithm