Adding the exercise for the modified Horner's Method used in the Rabin-Karp algorithm.