adding sensor.py
Merge pull request #4 from Rookieokky/sensor

adding sensor.py