Committing addition of two linked list delete functions