added both rabin karp hash and adler