Circuit and Arduino code for a photoresistor array