Create NFA.js

Initial file with all the code from the DFA.js