Factorial works for integers 0 <= n <= 12