Example Resulting value of x
var h = [1, 2, 3];
function square(tot, x) {
  return tot + x * x;
}
var x = h.reduce(sumsquare, 5);
19