Factorial with Exception Handling Exercise