Return the grid of cells after one step.
Array of cells.
Cell grid width.
Cell grid height.
The rule function to apply (e,g., gameOfLifeRule, briansBrainRule)
Return the grid of cells after one step.