adding some more linked list operations