(State Assignment) Given the state diagram in Figure Ex. 8.18 and the state assignment A = 000, B = 001, C= 011, D= 111, E= 101, implement the state machine using a minimum number of gates and flip-flops. You may assume that an external RESET signal places the machine in state A (000).