First stab at a blossom-based hi-d matching algorithm, super-copypasta-level