Fixed 'tick' implementation.

The rules are now simultaneously applied to every cell.