Recursion practice for midterm (factorial program).