A game of life written in Python