StringMatching: CTCI: 1.8 Check whether string is a rotation of another string