Add MIT License
Add working implementation of a DFA and NFA.