formatting cleanup
classify
restructure and attempt to fix software bounce by checking the LED status and correcting sleep duration