refactoring rabin-karp methodology
remove unused files