Made arduino code accept any number of LEDs