Implement the function SumCells(cells).
Input: an arbitrary collection cells of Cell variables.
Return: a single Cell variable corresponding to summing corresponding elements in every cell in cells.

type Cell [2]float64
func SumCells(cells ...Cell) Cell {
sum := 0.0
var c Cell
c = append(c, cells)
for rowIndex, row := range cells { // loop through rows
for cellIndex := range row {
sum += [rowIndex][cellIndex]
}
}
return c
}
Could someone explain how to write this function?