A Model of Random Matching