corrected range (was printing the first 19 numbers instead of 20). use range_inclusive