Created a flashlight class to handle the turning on and off of the flashlight. Added permissions to the manifest file