Added territory score to heuristic, to prefer wall-hugging behaviour