C language, a program for calculating whether a number is prime (prime)