Making isPrime faster by calling factor.
Changing getPrimes to use factor.
Removing misplaced space, references to getPrimesToo