Microsoft interview question

Design and code for me an elevator control unit