isPrime

Trivial primality test by checking its divisibility by every integer between its square root and 2.