Adding a test function for converting chars to strings of bits. Needs to be debugged.