Added a sample solution for problem 4