Added example of sets in Java.