ActionScript version of the game of life.