Fixed luminosity sensor and added debugging to the serial monitor.
Added required libraries to compile this program.