Added isPrime function, that does not always work and  primeBase2 that finds all double roots but no single roots