Answers to exercises in Purely Functional Data Structures