tetris with rotations and some bugs