Bloomberg Interview Question

Write the functionality to design an elevator system.