Function to create the graph
def create_graph ( ) : NEW_LINE INDENT g [ 1 ] . append ( 2 ) ; NEW_LINE g [ 2 ] . append ( 1 ) ; NEW_LINE g [ 1 ] . append ( 3 ) ; NEW_LINE g [ 3 ] . append ( 1 ) ; NEW_LINE g [ 1 ] . append ( 4 ) ; NEW_LINE g [ 4 ] . append ( 1 ) ; NEW_LINE g [ 2 ] . append ( 5 ) ; NEW_LINE g [ 5 ] . append ( 2 ) ; NEW_LINE g [ 2 ] . append ( 6 ) ; NEW_LINE g [ 6 ] . append ( 2 ) ; NEW_LINE DEDENT