Understanding counting with arrays

i'm sorry. this code isn't mine...it is from the blinkenlight blog that is linked from the arduino playground:

about your last question: that comment was for when i had a potentiometer connected for speed adjustment...when i shrank the project down, i had to get rid of the pot