move getNeighbors() to the grid
removed async task which is not needed