Day 3:Connect Components