Microsoft Interview Question

Design an elevator