how to find prime number with C