AhoCorasick with classes

Added