c++ program to find the prime number