Added neighbour function