Added Chapter 5 configurations back in
formatting
* added documentation
* rearranged Chapter 5 sample programs in the order that they are presented in the book
formating and some minor refactoring