Monotonicity value added along with ai for the heuristic.
Testing for all different values has been added. Still some problems remain
with the approach.