add ConnectedComponentsWUF.java class