Additional bit manipulation problems from "Cracking the coding
interview" book.