How Do Judicial Appointments and Elections Work?