refactor grid

extract an all_neighbours method