ch2 exercise 86
ch2 exercise 87. I think weiqun zhang's soln to this might actually be wrong because he seemed to have neglected the case where there are terms but they're all equal to zero, he just seems to check for an empty term-list