Factorial using regular recursion and tail recursion.