How Governments Form Around the World