Began solution for chap16