added third heuristic function: determines preferability using centre of board as reference point
added function comment