Exercise solutions from the O'Reilly book of the same name.