complete game of life program

fixed test class