dfa.match() implemented
dfa.match() implemented