function res = makeNode(value, varargin)
% Collect a value and some other nodes into 
% a structure with fields 
% <value> and <branches>
res.value = value; %! The value field
if length(varargin)==1 &iscell(varargin{1})
   res.branches = varargin{1}; %! Branches given as a single cell-array argument
else
   res.branches = varargin; %! Branches as multiple arguments
end
