added charToBinaryString()