either24: 2-2 or 4-4, but not both
Given an array of ints, return true if it contains a 2 next to a 2 or a 4 next to a 4, but not both. Step through either24: the loop just records whether each kind of pair exists, and the final return does the "one but not both" logic.