Got Dijkstra working