Make the range go from 1 to maxi instead of 0 to maxi - 1

Also, All lines were limited to 79 chars. Because yes.
Merge pull request #1 from jgomo3/master

Make the range go from 1 to maxi instead of 0 to maxi - 1