I made liveCells work totally. Now all I need to do is tell the
computer to only check the cells in liveCells instead of all of them.
I tried to implement only checking live cells and their neighbors into
generation(), but it's very buggy and the simulation doesn't work right at
all.