added game of life get method