History, Theory, and Practice of the Electric Telegraph