A python version of conway's game of life