This decimal to binary converter need some finishing touches.
The Art started from the UT Onramps course' but the core algorithm is now a loop that simplifies processing the common pattern.