move stable matching to algo-design