Conway's game of life, with an emphasis on pure functions.