tried to implement add of 2 dfa