Added bool winner, to break the game if a winner is found