game of life which implemented by python programming langauge