just converts a of words to binary digits