Changed how the leds function and added some green codes