Updating code listings and order for Chapter 5