first commit
modified remove duplicates from sorted list