M = "On input <D> where D is a DFA
1. Add the start state of D to a set R of reachable states
2. For each state of D not in R:
a. For each state q1 in R:
i. For each state q2 that is reachable from q1 on some
symbol a, add it to R
b. If no new states were added to R in step a., then break
3. Iterate over the states in R
a. If any of them are accepting states, REJECT
b. If all of them are not accepting states, ACCEPT