Create a function that takes an array and returns the sum of all items in the array.
sumArray([1, 2, 3]) ➞ 6 // 1 + 2 + 3 = 6 sumArray([1, [2, [1]], 3]) ➞ 7 // 1 + 2 + 1 + 3 = 7
The item in an array can be another array.