a C++ version Tetris