The question of designing matching procedure (between high-schools and students, med intern and hospitals, kidney donors and receivers,...) has been widely studied by economists and vastly contributed to Roth and Shapley receiving the Nobel memorial price in economics.

I was wondering if you knew about any freely available **code** out there (ideally in a relatively high-level language) able to **compute solutions** to the main kind matching problems for some of the **most famous algorithms** proposed in the literature. I am thinking of writing one, but I'd rather not it already exists. 

I am **chiefly interested** in some piece of code to compute the solution to **Deferred Acceptance** algorithm in a **school choice** problem, but anything else would be appreciated.