Add remove Duplicates from an array in Java