Got the basic infinite loop running and printing when the system will lock or unlock the door.