Swedish PM says classroom attack is ‘a nightmare that no one should have to experience’