Compatibility and Stability in Social Relationship