code: public Element getElementAtLevel(int level) {
          checkArgument(level >= 0);
          if (level > element.level) return null;
          if (level < element.level) return parent.getElementAtLevel(level);
          return element;
      }
docs: Returns the Element at the given level.
  @param level the level to get the element from
  @return the element