new class NFA
NFA test added