sum2: add the first two

Given an array of ints, return the sum of the first 2 elements. If the array is shorter than 2, just add up the elements that exist, returning 0 for an empty array. Step through sum2: the length decides which return runs, so the code never reaches for a box that isn't there.