private boolean addCardAtRandom(PlayingCard card)
	{
		int[] validIndexes=new int[cardsInDeck.length];
		int counter=0;
		for(int i=0; i<cardsInDeck.length;i++)
		{
			if(cardsInDeck[i]==null)
			{
				validIndexes[counter++]=i;
			}
		}
		if(counter==0)
		{
			return false;
		}
		int index=random.nextInt(counter);
		cardsInDeck[validIndexes[index]]=card;
		return true;
	}