draw a state diagram for an FSM with an input gcnt and three outputs x,y, and 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. Make the initial state 000.