ex 17.6.14 - delete from list without returning head
refactor add and insert functions to return void, using pointer-to-pointer technique