Conway's Game in C++