some methods for calculating heuristic cost
tests for heuristic functions.