1. Produce a logic design for hardware routing in a hypercube according to the algorithm given in Section 9.1.2, page 300.
2. Write a program to perform the numerical integration of an arbitrary function f(x), as given in Section 9.2.2, (page 305), but using a tree structure to accumulate the results.