remove duplicates from sorted list.. easy but need to be neat