Fully answer the procedural Dijkstra question and embellish it with a second part