Microsoft interview question

Design an elevator