Given an array where every element appears twice except one, find the single element. Must run in O(n) time and O(1) space.
2,2,1
1