added Robin-Karp algorithm for string pattern match