Code For Prime Numbers In Java Using Iterators