An implementation of the Sieve of Eratosthenes in Java.