Adding wk3ex2 solution