java program for 50 prime numbers