Adding in checks for neighboring cells, and adjusting the score accordingly.