Defines classes to show how to convert a Matching problem into a Flow Network problem.