Updated highlightNeighbours method to use coordinates