Conversion of text string to binary
Write a program that receives a text string from the input and represents the equivalent of each character as a string of numbers 1 and 2.
For example, input:
hello world
Output:
0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100