Added basid functions for created nfa states and edges.