A simple implementation of game of life with a twist