private T recGet(T element, BSTNode<T> tree) {
	if (tree == null)
	    return null;             // element is not found
	if (element.compareTo(tree.getInfo()) == 0)
	    return tree.getInfo();  // element is found
	if (element.compareTo(tree.getInfo()) < 0)
	    return recGet(element, tree.getLeft());   // get from left subtree
	return recGet(element, tree.getRight());      // get from right subtree
    }