Fixed broken code + LED numbers

A number from serial wasn't turning on all the LEDs, I changed the for
loop to fix this