adds function that finds out how many times any given number or string shows up in an array and returns the first one that is in there any even number of times