Grading Notes:

(Image from ACT-Solutions)

Design a finite state automata that models a three-way light switch (a switch that allows the light bulb to be turned on by a switch at either end of the hallway). Include in your answer a state diagram and a short explanation of why your diagram captures actions of the switches.

Note that instead of "ACCEPT" states, your diagram should have an "LIGHT ON" and "LIGHT OFF", echoing the example of the automatic door from lecture (and textbook).