creating prime factorization file