Added code to check if a player wins and display a message
Added a reset button