whole_func_string: function(vertex) {
        if (this.head === null) {
          this.head = vertex;
        } else {
          this.tail.next = vertex;
        }
  
        vertex.prev = this.tail;
        vertex.next = null; // the tail has no subsequent vertex
  
        this.tail = vertex;
  
        return this;
      }
func_code_string: function(vertex) {
        if (this.head === null) {
          this.head = vertex;
        } else {
          this.tail.next = vertex;
        }
  
        vertex.prev = this.tail;
        vertex.next = null; // the tail has no subsequent vertex
  
        this.tail = vertex;
  
        return this;
      }
func_documentation_string: Appends a vertex to the end of the linked list