Recursive because of factorial? It works, but maybe not the way he wanted?