Modified document to include comments on problem 2