Problem
1. Using tFSMs, describe a lighting system consisting of one lamp and two buttons. If the lamp is off, pushing either button causes the lamp to switch on, and conversely.
2. Describe a system with two lamps and one button. When the lights are off, pushing the button causes the first lamp to go on. Pushing the button again causes the second lamp to go on and the first to go oft Pushing the button yet again causes both lamps to go on. and pushing it once more switches both lamps off.