finish chapter 9

Signed-off-by: Kevin Gaddy <kevin.gaddy@gmail.com>
adding header file

Signed-off-by: Kevin Gaddy <kevin.gaddy@gmail.com>