Dijkstra in time O(V**2) added.