Section 4 - Lecture 29: Setting Up the endGame Function