code: function(target, vertex) {
        vertex.prev = target;
        vertex.next = target.next;
  
        if (vertex.next === null) {
          this.tail = vertex;
        } else {
          vertex.next.prev = vertex;
        }
  
        target.next = vertex;
  
        return this;
      }
docs: Inserts a vertex after the target vertex