A simple program of game of life