Happiness and social structures