Now iterates through the frontier looking for the best node according
to the stored heuristic value.  The value isn't being set anywhere; I
need to think about how best to do that.