Problem 12. Also refactor to put the prime factorization code from problem 5 into its own file. Could speed it up, though.
Have these use the consolidated primes code.