Create prime.java

Program outputs prime numbers up to 100 using Java