Prime Factorization Tree Generator