Completed up to problem 12.