Final Code with LED light integrated