Added import from java.util for HashSet and Set to work with changes in Processing 2.0b7.