Drastically changed the stabilitycheck. As a result a lot of incorrect results that were previously allowed are now correctly rejected. Changed the algorithm to generate couples. It now uses a list of man along with a permutation of women and checks every possible combination. This means that duplicate marriage lists in the same order won't work anymore.