Check If rotation of one string equals another one