Remove Duplicates from sorted arrayII