move prime factorization to assignment package