to print out nfa states and transitions