function out = fact2TimeTest()
t = cputime();
  for i=1:100
     fact2(i);
  end
  diff = cputime() - t;
  disp(diff);
  
t = cputime();
  for i=1:500
     fact2(i);
  end
  diff = cputime() - t;
  disp(diff);
  
t = cputime();
  for i=1:1000
     fact2(i);
  end
  diff = cputime() - t;
  disp(diff);