Update removeDuplicates.java