Doubly and Singly linked list implementations.