table filling method for minimization of dfa