add accepted cpp Remove Deuplicates from Sorted Array