Prime Factorization Program