Karp-Rabin String Matching

The Karp-Rabin String Matching algorithm: https://en.wikipedia.org/wiki/Rabin-Karp_string_search_algorithm.