modify linkedlist functions: delete all occurances, and random insert