public void shuffle()
	{
		//System.out.println("Shuffling");
		cardsInDeck=cards.clone();
		PlayingCard[] cardsNotInPlay=new PlayingCard[cardsInDeck.length];
		int cardsOutofPlay=0;
		for (PlayingCard c: cards)
		{
			if(c.placeInDeck())
			{
				cardsNotInPlay[cardsOutofPlay++]=c;
			}
		}
		cardsInDeck=new PlayingCard[cardsOutofPlay];
		for (PlayingCard c:cardsNotInPlay)
		{
			addCardAtRandom(c);
		}
	}