tic;
for i=1:1000 
   iter_fact(100); 
end; 
toc

tic;
for i=1:1000 
   rec_fact(100); 
end; 
toc
