Problem 9 solved (C)
Problem 10 solved (C)