Dijkstra algorithm added