Nondeterministic finite automaton