Implementation of a Chess AI in C++