Touching on a cell toggles that cell and each of its immediate neighbors. The goal is to turn out all the lights with the minimum number of taps.