Conways game of life in python