Thoughtworks interview question

Was asked to design an elevator.