Added some code to print out sizes of connected components