Solution for the Problems in Programming Pearls