What then-US protectorate did Root write a government charter for?