code: void addElement(KElement element) {
  		if (!this.elements.contains(element)) {
  			element.setIndex(this.elements.size());
  			this.elements.add(element);
  		}
  	}
docs: Add an element
  
  @param element
  the element to add