1 G has 3 nodes of type 1, 2 nodes of type 2 and 5 edges.

3 Node 0 of type 1 has 1 neighbors:

4 the 0'th neighbor is node 0 of type 2

6 Node 1 of type 1 has 2 neighbors:

7 the 0'th neighbor is node 0 of type 2

8 the 1'th neighbor is node 1 of type 2

10 Node 2 of type 1 has 2 neighbors:

11 the 0'th neighbor is node 0 of type 2

12 the 1'th neighbor is node 1 of type 2