Tetris using SDL in C++