week1.question2 solution