Chess in C++