Apple interview question

Model an elevator.