Create primes and factors

this is a fruitful program i wrote for primes and prime factors. it can output whether a given number is prime and a number's prime factors. it can also write these to text files.