first few exercises from SICP ... testing humbug hooks