whole_func_string: function(a, b) {
        if (a.prev === null) {
          this.head = b.next;
        } else {
          a.prev.next = b.next;
        }
  
        if (b.next === null) {
          this.tail = a.prev;
        } else {
          b.next.prev = a.prev;
        }
  
        return this;
      }
func_code_string: function(a, b) {
        if (a.prev === null) {
          this.head = b.next;
        } else {
          a.prev.next = b.next;
        }
  
        if (b.next === null) {
          this.tail = a.prev;
        } else {
          b.next.prev = a.prev;
        }
  
        return this;
      }
func_documentation_string: Removes a list of vertices whose 'head' is 'a' and whose 'tail' is b