changed the name of the linked list to doubly linked list to correctly identify it from the other types.