inventory application of doubly linked list ADT