Arduino ir, my first project!

You can shorten some of the code with ? : condition(http://processing.org/reference/conditional.html)

Wouldn't that make it only possible to have one led on at a time?