-Homer's rule for evaluating polynomials
-count-leaves using accumulate
-summation of the corresponding elements of list of lists