Move function "printLinkList" from listOper to functionInventory.