Update checkPrime.c