added solution for 2.2 question from Laakmann