Computes a factorial of a number recursively.