Adds a function to square a given number