Completed doubly linked list and did basic tests to ensre it works.