Fix typo in dijkstra algorithm