solutions of the Programming Pearls Problems