When the computer was invented, how did the computer recognize letters from the input of keyboard and display it into the monitor?