sumCols function sumCols(Number[][] array) Sums over each column of the given array Parameters Number[][] array - the 2d array to sum the elements of. Return type Number[]