Create Prime.java

find primes using modulus