Work on problem 2.
Preparation for submission.