The variable in the loop condition never changes, are you incrementing the wrong variable?
