proved that it's faster NOT to memoize math.factorial when the only factorials being used are for n under 10