Dijkstra Algorithm Time Complexity