Basic implementation of a Deterministic Finite Automaton.
Basic implementation of a Deterministic Finite Automaton