fixed rotation and line clear. fully functional