Turns on and off 10 LEDs based on Serial input.