Former extremists say they were sucked in by propaganda as teenagers, thanks to an algorithm’s dark side.