Add bipartite graph generator. Needs to be merged with Rahmadi's changes to the base...