added C: write a function to check if a string os a rotation of another using is_substr(s1,s2) only once