Dijkstra alogrithm written in VisualWorks Smalltalk