(Word Problem) Given the combination lock of Section 8.5.4, describe how you would design a combination lock with a variable number of values in the key.
Hint: How could you use a counter to assist in this?
Draw a block diagram showing signals between the finite state machine and the counter. Draw a revised state diagram for the combination lock incorporating your design changes.