C++ code four in a row game