First implmentation of the heuristic functions