Update NFA.js

Updated step, isAccepted, readInput, readInputAnimated to work with currentStates as an array.

Still need to fix checkValidMachine()