square is a cell, rule for growing is given by the three cells above.
You define rule by click to fill or not square
for each event about the three cells.
You can add new cell for begin by click on
squares of first row.
On click for rule or cell to begin, all squares