Modify the program A such that each node of the list behaves as a stack of items having the same name and expiry date. The stack operations are push(x, S) and pop(S). Modify the pop(S) function such that it automatically deletes the list node when the corresponding stack becomes empty.