@@ -0,0 +1,2418 @@
+public class IntTreeNode %7B%0A    int value;%0A    IntTreeNode right = null;%0A    IntTreeNode left = null;%0A%0A%0A    public IntTreeNode(int value) %7B%0A%0A        this.value = value;%0A        this.right = null;%0A        this.left = null;%0A    %7D%0A%0A    public boolean addToChildren(int numberToAdd) %7B%0A%0A        if (this.value == numberToAdd) %7B%0A            return false;%0A        %7D%0A%0A        if (numberToAdd %3C this.value) %7B%0A            if (this.left == null) %7B%0A                this.left = new IntTreeNode(numberToAdd);%0A                return true;%0A            %7D else %7B%0A                this.left.addToChildren(numberToAdd);%0A            %7D%0A%0A        %7D else if (numberToAdd %3E this.value) %7B%0A            if (this.right == null) %7B%0A                this.right = new IntTreeNode(numberToAdd);%0A                return true;%0A            %7D else %7B%0A                this.right.addToChildren(numberToAdd);%0A            %7D%0A        %7D%0A%0A        return false;%0A    %7D%0A%0A    public boolean searchIfChildrenContain(int valueToFind) %7B%0A%0A        return (this.value == valueToFind) %7C%7C (this.right != null ? this.right.searchIfChildrenContain(valueToFind) : false) %7C%7C (this.left != null ? this.left.searchIfChildrenContain(valueToFind) : false);%0A    %7D%0A%0A    public int countChildrenNodes() %7B%0A%0A        return 1 + (this.right != null ? this.right.countChildrenNodes() : 0) + (this.left != null ? this.left.countChildrenNodes() : 0);%0A    %7D%0A%0A    public int maxHeightOfChildren() %7B%0A%0A%0A        return 1 + (Math.max((this.right != null ? this.right.maxHeightOfChildren() : 0), (this.left != null ? this.left.maxHeightOfChildren() : 0)));%0A    %7D%0A%0A    public void printPreOrderChildren() %7B%0A%0A        System.out.print(this.value + %22, %22);%0A        if (this.left != null)%7B%0A            this.left.printPreOrderChildren();%0A        %7D%0A        if (this.right != null)%7B%0A            this.right.printPreOrderChildren();%0A        %7D%0A%0A    %7D%0A%0A%0A    public void paintChildrenInOrder() %7B%0A%0A        if (this.left != null )%7B%0A            this.left.paintChildrenInOrder();%0A        %7D%0A%0A        System.out.print(this.value + %22 %22);%0A%0A        if (this.right != null )%7B%0A            this.right.paintChildrenInOrder();%0A        %7D%0A    %7D%0A%0A    public void paintChildrenInOrderDown() %7B%0A%0A        if (this.right != null )%7B%0A            this.right.paintChildrenInOrderDown();%0A        %7D%0A        System.out.print(this.value + %22 %22);%0A        if (this.left != null )%7B%0A            this.left.paintChildrenInOrderDown();%0A        %7D%0A%0A%0A%0A%0A    %7D%0A%7D%0A%0A

Create IntTreeNode.java