code: public void add(T value) {
          Element<T> element = new Element<T>(bundle, value);
          element.previous = tail;
          if (tail != null) tail.next = element;
          tail = element;
          if (head == null) head = element;
      }
docs: adds a value to the list
  
  @param value the value