added algorithm to check whether string s1 is rotation of s2