Game of life Kata -- C++