Applying a O(1) strategy to insertion in double linked lists.