Update Elevator.java

Fixed problems