Problem 9 solved.
Problem 10 solved.