let numberArray = [1, 2, 3, 4, 5]
let squaredArray = numberArray.map { $0 * $0 }
print(squaredArray) // [1, 4, 9, 16, 25]