Contributor: Zhewen Zheng, Yuchen Shao(Winnie)
Each cell with one or no neighbours dies, as if by solitude
Each cell with four or more neighbours dies, as if by overpopulation
Each cell with two or three neighbours survives
Each cell with three neighbours becomes populated