CTCI 5.5 count bit required to change from a to b