add rabin-karp method
commit