Add surroundingCells() function.