Sample factorial program.