implement rotation of string

rotate a string by 2 spots