How AI can teach kids to write – not just cheat