checks if there is a winner diagonally