Coursework 3 Elevator simulation