Chapter 4 - added win/lose logic
Finished adding chapter 4 code including the challenge