Google Cloud interview question

Design an elevator system and code it