Adding solution to lab ex 2 w9