Added "backup" code

Added PIRSensor code to act as a base. I am going to switch current code into PIRSensor code block and see if that works.