hri function

All stable matchings in the hospital/residents problem with incomplete lists