created all the templates except for problem 7 and 8