Added function to convert ASCII text to bits