Print First N Prime Numbers In Java