Stretch and challenge exercise

squaring all integers from 1 up to the inputted value
update

update