simple string matching (DFA) works
Now with DFA and NFA test