REMOVE-DUPLICATES-FROM-SORTED-ARRAY problem