my_strstr2.c: implement Rabin–Karp algorithm