Updated C++ version of GOL