Simple iterative factorial example program.