function out=printCell(C)
% prints a cell array
if isvector(C)
    arrayprint(C); return;
elseif ~iscell(C)
        fprintf('%d', C); return;   
end;
fprint('{');
for j=1:length(C)
    printCell(C{j});
end;
fprint('}');fprintf('\n');