Changed i to an int
Merge pull request #4 from AeonAxan/master

Changed the loop variable to an int