Update PrimeNumber.cpp

fix bug