ds:added doubly linked list maniputation by index functions