<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def notGroup (states, *stateIndexPairs):
 """Like group, but will add a DEFAULT transition to a new end state, causing anything in the group to not match by going to a dead state. """

    start, dead = group(states, *stateIndexPairs)
    finish = len(states)
    states.append([])
    states[start].append((DEFAULT, finish))
    return start, finish