find factorial of a given number