Program to find the factorial of number.