Prelab
Please read the 'Challenge' carefully and draw the state transition diagram to solve the problem and complete as much of the design as possible.