Which branch writes laws, declares war, and can override a veto?