Check whether str2 is rotation of str1 or not