Simple LED cycle code randomly stopping

....Wow I feel dumb, I forgot I put the pins into an array. >n< Thanks