Resetting value of i as earlier loop can remain in the editor
Whitespace fix
Merge pull request #7 from boxuk/reset_values

Reset values