https://wikimass.com/php/factorial-of-a-number