Finished Chapter 3 and more code examples