Use Array to Blink More Than One Pin

I don't necessarily need this to handle arbitrary lengths. How could I code it to a declared value?