Added a popup for winning and wrapped the makemove to prevent moves after a player wins