Computing the Next State
v
For each cell, calculate how many live neighbors it
has.
Each cell has 8 neighbors:
2
1
3
4
5
6
7
8