Calculate the factorial of big numbers.