Added an interface for LinkedLists and changed the doubly linked list to
implement it.