example memoizing generator using bignumber.js to compute massive factorial numbers