Remove duplicates from sorted array done