Implementation of generic doubly linked list with user interface for testing purposes.