Update PrintPrimes.java

Moved main method to the end of class, so it can be more easily found and modified for testing.