Add templates for problem 3.