Created 3 light sensor functions

Created calibrateLightSensor, isAboveThreshold, and isBelowThreshold