Created DFA class. Has constructor that takes in a NFA.