chess engine in c++11