added dijkstra. You should use a fib heap\!