Fixed an infinite loop from a missing 'i++'
Merge pull request #1 from raylillywhite/fix_infinite_loop

Fixed an infinite loop from a missing 'i++'