Computer Exercise 2: Moore and Mealy machine design for an elevator.