answers for exercise 1.40
answers to 1.41

got it wrong - but figured out why without checking Bill the Lizard
exer 1.42: This was an easy one
exer 1.43 - again pretty easy!
exer 1.44 - not tested

To quote Knuth: I didn't have time to test it - only to prove its correctness.