int data=sc.nextInt();
Node node=new Node(data,null,null);
this.size++;
boolean choice=false;
System.out.println("LEFT CHILD???");
choice=sc.hasNextBoolean();
if(choice)
{
node.left=takeInput(sc,null,null);
/this here can someone explain why scanner object
has been passed and how is it working precisely/
}