solutions for programming pearls 2nd edition.