moved the union-find into a separate file and stopped using the java class
(possibly) improved colors-connected?