Rules

A cell survives when it has neighbours Width:

A cell survives when it has neighbours (-1 to disable) Height:

A cell is born when it has neighbours