A Survey of Artificial Intelligence in Computer-Assisted Instruction