my programmatic solution to Conway's Game of Life