add steven halim chapter 2 library example

add steven halim chapter 2 library example