The inventor of punched cards, which led to the first computers and companies like IBM, was aiming to solve a gnarly problem at the time: data collection for the census.