How North Korea became the world's longest-lasting totalitarian state