A C++ implementation for the Game of Life problem