static int cardValue(String card)
	{
		int cardValue = 0;
		char value = card.charAt(0);
		char suit = card.charAt(1);
		
		if (value == 'A')
			cardValue += 48;
		else if (value == 'K')
			cardValue += 44;
		else if (value == 'Q')
			cardValue += 40;
		else if (value == 'J')
			cardValue += 36;
		else if (value == 'T')
			cardValue += 32;
		else
			cardValue += (Character.getNumericValue(value)-2)*4;
		
		if (suit == 'D')
			cardValue += 1;
		if (suit == 'H')
			cardValue += 2;
		if (suit == 'S')
			cardValue += 3;
		
		return cardValue;
		
	}