Added template for problem 4