Python game of life