Update PrimeNumber.cpp

fix prime bug