new linked list insertion at index method