isPrime in C. Added