Given a sorted linked list, delete all duplicates such that each element appear only once