check if string is c-clockwise rot of another