Connect For, AlphaBeta Algorithm, C++ Implementation