Microsoft interview question

Design a elevator system