Create primeCheck.java

Simple prime checker for Java SE.