Added additional, better, isPrime implementations