Homework 3
Double Linked List
Objective:

Write a class called DoubleLinkedList which is a generic double linked list. This link list is similar to the single linked list that was shown in class except that each node in addition to having size and next now has prev. Download the driver and the optional exception classes (DO NOT MODIFY THE DRIVER!) and write the following classes:

The class DoubleLinkedList needs to have the following:

Insertion
Insertion
Deletion
Deletion
Example Dialog

    Generating lists

    Checking prev elements:
    Items match!

    Comparing ArrayList to your List:
    Items match!

    Deleting random elements

    Checking last element vs the element at index = size - 1:
    Items match!

    Comparing ArrayList to your List:
    Items match!

    Testing 'inList' method
    Success
    
Finally:

Upload the .java file to the dropbox