nondeterministic automaton