TDD game of life implementation