add aho-corasick algorithm part