A simple implementation of Conway's game of life in C++