Given Graph
g [ 0 ] . append ( 1 ) NEW_LINE g [ 1 ] . append ( 0 ) NEW_LINE g [ 0 ] . append ( 2 ) NEW_LINE g [ 2 ] . append ( 0 ) NEW_LINE g [ 0 ] . append ( 3 ) NEW_LINE g [ 3 ] . append ( 0 ) NEW_LINE g [ 1 ] . append ( 2 ) NEW_LINE g [ 2 ] . append ( 1 ) NEW_LINE g [ 1 ] . append ( 4 ) NEW_LINE g [ 4 ] . append ( 1 ) NEW_LINE