Input: [1, -2, 3].square() Output: [1, 4, 9]
Add a square() method to numeric arrays that returns the square of each value in a new array.