Online Scheduling Medical Appointments