Create ifPrime