add sample of AC automaton