Implemented maximal bipartite matching. Runtime problem is fixed.