chap1 function

Chapter 1: Introduction