Added conditional to check for winner before adding a new move