compute log(n!) of huge numbers