maxEnd3: fill with the bigger end

Given an array of ints of length 3, figure out which is larger, the first or last element, and set all the elements to that value. Step through maxEnd3: an if/else picks biggest, then three lines copy it into every box of a new array.