square function

added functionality to sqaure an int number