created nfa_copy tests, made some fixes to code. nfa_copy does not pass tests.