created is_prime, which is a function that tests if an integer is prime.