Added path to dijkstra impl