Understanding Friendships and Resolving Conflicts