How Hospital Matching Works