Door Supervisor level 2
Solution Six