add rotation of pieces