allocates storage for
l
&
r
, the left and right subtrees
binarytreepointer l,r,setnull(),left(),right();