1:  8 3
2:  9 8
3:  6 5
4:  6 5
5:  7 4 2
6:  3 2
7:  10 9 8 4
8: 
9:  4
10:  5 4
8 is in component 1 
3 is in component 2 
10 is in component 2 with 3 
7 is in component 2 with 3 
5 is in component 2 with 3 
4 is in component 2 with 3 
9 is in component 2 with 3 
2 is in component 2 with 3 
6 is in component 2 with 3 
1 is in component 3 
