Added Array.sum as 1 line recursive function