Completed problem 12
Completed problem 46