Solution to ex8 of chapter 1

Adding the solution of verifying if a string is a rotation of another
through just one calling of any isSubstring method available.