Nuclear arms agreement reached with North Korea