Add a new function that creates a new DFA from the existing DFA that has been minimized to the states that are really needed. For example, the RegEx `ab|cb` creates this DFA:  The minimized DFA would look like this: 