copy version of rabinKarp

copy version of rabinKarp