what subjects are needed in high school to become a doctor