The Effects of Geography on Social Structures