Seol mar théacs é seo: Algorithmics of matching under preferences