Homework 5 _ Primality and Factorization