Set neighbours for cells