Add stable marriage problem implemented in python