O(N) solution for search of number that occurs odd number of times