added a prompt that declares the winner at end of game