Matching as a non-cooperative game