PrimeOrNotPrime

Checks if a value is prime