Chess written in C++