Create a player object. This holds the player's score, which removes the need for the global score variable that I previously used.