add Remove Duplicates from Sorted Array II,in my way,not so good