prob 9 solved
prob 10 solved