add solution for deleting duplicates in a sorted array.
add solution for removin duplicates in sorted array 2