completed problem 10. Progress on problem 11