modify cornersHeuristic() for Q6 (in progress)