C++ Alpha-beta pruning practice