A threaded and non-threaded approach to calculating the integral of a function using Simpson's Rule.