calculatin factorial of a number – Query Examples