C++ clone of 2048