Aho–Corasick - Preparation to IOI Part 6