added full implementation for closed state
Merge branch 'master' of https://github.com/ajl2612/GarageDoorSimulator