2 way of factorial for n!