Reworked the `heuristic' method.
Reworked the `heuristic' method.

It is now called `compute_heuristic', and takes the start node rather
than start state.  It returns void, and calls `set_h' with the
appropriate heuristic value on the given start node.

bradlarsen/switchback,bradlarsen/switchback