Demonstrate Dijkstra's algorithm