Essays In The Economics of Networks