Bipartite graph with Sparse matrix.

An easy way to get an adjacency matrix for bipartite graph, using Sparse Matrix.