Working game of life