+finalized the program
-removed class DoorState.java