Implementation of the Stable Marriage Problem in Python. The solution is based on the paper College Admissions and the Stability of the Marriage knwon as Gale-Shapley algorithm. Also, this problem is available at ACM-ICPC
python generator.py > instance.txt
python main.py < input/test1.txt