Shortest path WORKS. Returns the shortest path and weight for the shortest path.