Added Chapter 1 Sample Code