Update Elevator.java

Added the accessor for isOpen()