add java solution for PrimeNumbers