The grid.op function is useful for traversing parts of the grid and checking some operator function. It's applicable for problems such as finding peaks and valleys. For example, "count the distance in ...