The first “software” was the Morse Code developed by Samuel F. B. Morse. The Morse code made telegraphing much easier by using ciphers.