reset iteration count before running

Changing the input value from 100 to something else has no effect, because the value of `n` is only set at the start of the script.

Congrats on trending repo fame!