Enhanced logic of ex13_05.
Completed chapter 23 & 24.