Adding classic gale-shapley solution.
Fixing random numbers generator.