@Override
	public String toString() {
		String cardsString = "";
		String handString = "";
		for(Card card: cards){
			cardsString = cardsString + card;
		}
	
		if(handNumber != 0){
			handString = "Player hand " + handNumber + ": amountBet=" + amountBet + ", cards=" + cardsString;
			if(finalPoints != null && handOutcome != null){
				handString += ", finalPoints=" + finalPoints + ", handOutcome=" + handOutcome; 
			}
			if(insuranceOutcome != null){
				handString += ", insurance=" + insuranceOutcome;
			}
		}
		else{
			handString = "Dealer hand:" + " cards=" + cardsString;
			if(finalPoints != null && handOutcome != null){
				handString += ", finalPoints=" + finalPoints;
			}
			if(insuranceOutcome != null){
				handString += ", insurance=" + insuranceOutcome;
			}
		}
		return handString;
		
		
	}