added doubly linked list and pair object class