added solution for Chapter 2 exercise