Implement Stable Marriage V2