sameFirstLast: same value at both ends?

Given an array of ints, return true if the array is length 1 or more and the first element equals the last element. Step through sameFirstLast: the empty array is handled first, because nums[0] doesn't exist when there are no boxes.