Completed problem 11
Completed problem 12