@Override
    public void evaluateTheHand(Hand player){
        dealerBrain =  new DealerAI(player);
        Vector<Card> throwAway = dealerBrain.whichCardsShouldISwap();
        int num = throwAway.size();
        Hand newHand = new Hand();
        for (int y = 0; y < hand.size();y++){
        boolean seen = false;    
        for (int x = 0; x < num;x++) {
          if (throwAway.get(x).equals(hand.get(y)))
              seen = true;
        }
            if (!seen) newHand.add(hand.get(y));
        }
        hand = null;
        for (int x=0; x < num;x++)
        newHand.add(dealACard());
        hand = newHand;
    }