Generalize program.
Make prime factorization less retarded.