This method suppose to add Node to a Binary Tree.
I dont understand why it doesnt do it and where I have mistake.
root is stay on null anytime.
 public void add(int num)
        {
            add(num, root);
        }
        private void add(int num, Node t)
        {
            if (t == null)
                t = new Node(num);
            else if (t.getLeftSon() == null)
                t.setLeftSon(new Node (num));
 }
 
     
    