public void computeValues(){
		
		int aceCount = 0;	
		values.removeAll(values);
		
		//Calculate initial value counting all aces as 11
		values.add(0);
		for(int i = 0; i < cards.size(); i++){
			Card currentCard = cards.get(i);
			values.set(0, currentCard.getValue() + values.get(0));
			if(currentCard.getValue() == 11){
				aceCount++;
			}
		}
		
		//Calculate possible other values for hands with aces
		for(int i = 0; i < aceCount; i++){
			values.add(values.get(i) - 10);
		}
		
		//Delete those values that are greater than 21
		Iterator<Integer> valuesIterator = values.iterator();
		while(valuesIterator.hasNext()){
			int value = (Integer) valuesIterator.next();
			if(value > 21){
				valuesIterator.remove();
			}
		}
		
	}