Added NextPrimeNumber in Java