Stable roommates problem