Factorial, 9 different functions