Added solutions for problem number 9.