changing enroll_student method to accept more parameters