Weekend Interview Question

Make an elevator simulation in typescript