Book Examples

Update of code examples and sections within Chapter 1.