write iterative process factorial
done q1-11