From chalk to chip: the use of artificial intelligence in the classroom