if given string is a rotation of another string