add naive integer factorization