Added layout algorithm for arranging a graph according to its bipartiteness properties.