An implementation of the Conway's game of life