Stable roommates problem solver