Note with 22 leds total at 10 ma (less than the 14 ma I allowed) you are getting close to a little bit over the max sink current of a 328 chip as used in the arduino (it is listed at 200 ma, 22 leds at 10ma would be 220 ma). That only applies if all 22 leds are on at the same time, but if that is going to be true you probably need to allow for it. The easy solution is to increase the resistor values to reduce the current (and thus the brightness) of the leds as far as possible. High efficiency leds (more light for less current) can help here. The more complex (but more flexible) solution is to add led drivers either in IC form or as individual transistors to reduce the current draw from the Arduino ports. Aren't engineering tradeoffs fun
Peter