improve chapter 25 readability
add chapter 25 cpp code
Merge pull request #61 from Boshen/master

add chapter 25 cpp code and improve readability