solution: remove duplicates from sorted array 1