Added two programs for chapter 17