modified dijkstra to account for speed limits.