Tetris clone in C++