Why is North Korea the way it is?

As opposed to western countries like UK, Canada etc.