Add Dijkstra's algorithm, modifications to it, and the function Cons pathto().
Add edgecost(), totalcost(), and pathcost().