Added problem 2. Some correction and additions.