transition function of nfa is given by