programming assignment semester one - version of game of life