Dijkstra routing algorithm: How it calculates a shortest