An 18-year-old armed with a sword killed a 17-year-old girl and injured three other students at Brinell School in Fagersta before police shot and arrested him.