Implemented algorithm to find the connected components in the SWT Image.