outlined exercise 3.7. the exercise uses functors which are not implemented in Arc.
exercise 3.8. Moving on to ch4 as Arc does not have pattern matching. Implementing red-black trees is too tedious.