The Cybersecurity 202: A cyberattack just disrupted grid operations in the U.S. But it could have been far worse.