added naive rabin karp which is not better than naive implementation