Create remove dupliacates from sorted list