Section 3 setup.
Implemented solution for problem 3.1