updated compare script to create softlink pointing to the last output
added extra women.hasSinglePeople clause to termination of the algorithm
(to check whether there is an inconsistent state between men and women)