Dijkstra example now working