Basic implementation of the Conway's game of life.