public void addFirst(E element) {
		LinkedElement<E> elem = new LinkedElement<E>(element);
		elem.setPrev(null);
		elem.setNext(first);
		if (total == 0) {
			last = elem;
		}
		if (total > 0) {
			first.setPrev(elem);
		}
		first = elem;
		total++;
		// System.out.println(elem.toInfoString());
		// System.out.println("Added first: " + first);
	}