Jive Software Interview Question

Design an elevator's functionality