Introduction to recursion to solve factorial