Finished problem 12.