Add 'private' qualifier to nfa method
Add unittests for 'to_dfa'