Adding code for a light sensor using a photoresistor