Added solutions for problem number 7.