chapter 5
update method for ch 5
fixed bugs from chapter 5
updating readme with notes from bug fixes for ch5