game of life in python