code: protected static EncodedElement getEnd_S(EncodedElement e) {
      if(e == null)
        return null;
      EncodedElement temp = e.next;
      EncodedElement end = e;
      while(temp != null) {
        end = temp;
        temp = temp.next;
      }
      return end;
    }
docs: Return the last element of the list given. This is a static funtion to
  provide minor speed improvement. Loops through all elements' "next"
  pointers, till the last is found.
  @param e EncodedElement list to find end of.
  @return Final element in list.