ConnectedComponent Assignment3