create a bipartite graph using processing