Rough implementation of the Stable Matching Problem