Add interfaces in the linkedlist package