Google Interview Question

Design a system for an elevator