update RemoveDuplicatesFromSortedArray.java