Rot-n Algorithim