finished sumFactors, working on Primes and on Perfect numbers both tested