Adding solutions for problem 8