The 56-page notebook belonging to the British code breaker was sold at auction in New York City for $1 million.