An iterator version of factorization

Useful for numbers with very large factors