Factorial calculator application