docs: public void addAll(Vertex vtx) {
          if (head == null) {
              head = vtx;
          } else {
              tail.next = vtx;
          }
          vtx.prev = tail;
          while (vtx.next != null) {
              vtx = vtx.next;
          }
          tail = vtx;
      }