@Override
    public String toString(){
	String o = "Deck "+name+'\n';
	int count = 0;
	if(this.repeated){
	    for(int i=0; i<cards.size(); i++){
		o = o + quantity.get(i) + ' ' + cards.get(i) + '\n';
		count += quantity.get(i);
	    }
	}else{
	    for(int i=0; i<cards.size(); i++){
		o = o + cards.get(i) + '\n';
	    }
	}
	if(!this.repeated)
	    count = cards.size();
	o = o +"Cards: "+count+'\n';
	return o;
    }