basic connect 4 classes and engine using POSIX threads in C++