adding functionality for cells to die if they have more than three neighbors