String Rotation Program In Python