How Computers Started Predicting Election-Night Results