Refactor - creating a function removeUniques that removes uniques from a given list of integers