Functional cpp for problem 3