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

Also, All lines were limited to 79 chars. Because yes.