Added graph_get_bipartiteness and tested.