def size size=1 size +=@lchild.size unless @lchild.nil? size +=@rchild.size unless @richild.nil? size end