Update fatorial.c

factorial function