Implemented Rabin-Karp text search