simplistic game of life example