check if 2 strings are circular rotation of each other