Added finished problem 9 solution