Create prime.java

Stereotypical prime number generator.  Learning how to use lists.