Interesting task I guess really you want to find the first (from right) and move the first set bit left to fill it.
Interesting task I guess really you want to find the first (from right) and move the first set bit left to fill it.