solution for problem set 3 5566813