Added the factorial for integers.