implementing spaceHeuristic which adds up empty squares around player in a 5x5 grid