Rename grid_neighbors for use with rows and columns