You will be given an array that may contain integers and/or array of integers. Your goal is to write a function that will sum up all intergers contains in the arrays.
For example, if the input is [[3, 2], [1], [4, 12], [2, [3,7]]] then your program should output 34 because 3 + 2 + 1 + 4 + 12 + 2 + 3 + 7 = 34.