C++ version of Simpson's Rule

Assignment 1 part 1