Draw a state diagram for an FSM with an input "GCNT" and the outputs "X,Y,Z". The XYZ outputs generate a sequence called a Gray Code in which exactly one of the three outputs changes from 0 to 1 or from 1 to 0. The Gray Code sequence that the FSM should output is 000,010,011,001,101,111,110,100,repeat. The output should change only on a rising clock edge when the input GCNT = 1. The initial state 000. Please explain the steps.