A Problem at Text Courses> Level Two >Processing different data types>Binary Exercise 2

you can refer to this question.
it seems to address your issue: