Added bipartite matching and LRU cache to debt simplification code