Solved week 3.