Elevator Example – A small program to control an elevator