Added PrimeNumbers solutions in C++ and Java