created skeleton for double linked list