Tetris game written in C++