Add lib simple lib for Pir-sensor.
Fix bug in SimplePir lib.
Fix bug in SimplePir lib.