init implementation of Gale-Shapley for Stable Matching problem