list is empty attempt to add a after x empty list, OK list is a attempt to add d after a list is ad attempt to add b after a list is abd attempt to add c after b list is abcd attempt to add x after y y not found, nothing added list is abcd attempt to delete x x not found, nothing deleted list is abcd attempt to delete b deleting b list is acd attempt to delete a deleting first item list is cd attempt to delete d deleting d list is c attempt to delete c deleting first item list is empty attempt to delete x empty list, can't delete list is empty