added recursive solution - chapter 03 - second edition