firstLast6: a 6 at either end?
Given an array of ints, return true if 6 appears as either the first or last element. The array will be length 1 or more. Step through firstLast6: the first element is always at index 0, and the last is at nums.length - 1 — one less than the length, because indexes start at 0.