Input form:
- Number of states
- Labels for the states separated by space.
- Initial state label.
- Number of final states.
- Number of transitions.
- The ... transitions like:
state-start
end-state
letter
pop
push
- The word to be verified.
$ = lambda or epsilon - means no letter or states to pop/push.