Worked on dijkstra.