Store neighbours for each cell in the grid