Add splice functions for double-linked list