states is a utility for working with NFA, DFA and regular expressions