Experimenting with dijkstra