Change the state A* and Greedy state representations to show the h()
value.

Previously, the f() value was being shown, which is inconsistent with the
original AI-Search application.