moved fastestPath to Graphs