Implementation of Gale Shapley Stable Matching Algorithm